//
//  SettingTableViewCell.m
//  TextApplication
//
//  Created by dllo on 16/9/24.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "SettingTableViewCell.h"
#import "TAMacro.h"

@interface SettingTableViewCell ()
@property (nonatomic, assign) CGFloat width;

@end

@implementation SettingTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _width = 0;
        _firstLabel = [[UILabel alloc] init];
        _secLabel = [[UILabel alloc] init];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _firstLabel.frame = CGRectMake(10, 10, 90, 30);
    _firstLabel.textColor = [UIColor colorWithWhite:0.259 alpha:1.000];
    _firstLabel.font = [UIFont systemFontOfSize:13];
    _firstLabel.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.firstLabel];
    
    _secLabel.frame = CGRectMake(100, 10, CONTENTWIDTH - 110, 30);
    _secLabel.textAlignment = 2;
    _secLabel.textColor = [UIColor colorWithWhite:0.259 alpha:1.000];
    _secLabel.font = [UIFont systemFontOfSize:13];
    _secLabel.backgroundColor = [UIColor whiteColor];
    [self.contentView addSubview:self.secLabel];

}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
